using System.Collections.Generic;
using System.Linq;

namespace SpecMaker.Core
{
    public class SpecResult
    {
        public SpecResult(string specObject, string context, IEnumerable<RuleResult> results)
        {
            SpecObject = specObject;
            Context = context;
            Results = results.ToArray();
        }

        public string SpecObject
        {
            private set; get;
        }
        public string Context
        {
            private set; get;
        }
        public IList<RuleResult> Results
        {
            get; private set;
        }
    }
}